package com.yanqu.road.entity.event;

public interface IEvent {
	//给eventCode添加监听
	public void addListener(int eventCode, IEventListener listener);

	//移除eventCode的监听
	public void removeListener(int eventCode, IEventListener listener);

	//触发事件
	public boolean notifyListener(int eventCode);

	//触发事件
	public boolean notifyListener(int eventCode, EventTriggerArgs eventArg);
}
